package com.kejizhentan.dao;

import com.kejizhetan.bean.Traveller;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ITravellerDao {
    @Select("select * from traveller where id in (select travellerId from order_traveller where orderid = #{orderId})")
    List<Traveller> findByOrderId(String orderId) throws Exception;
}
